package com.lagou.bean;

public class Student {
    /* `sid` varchar(20) COLLATE utf8_bin NOT NULL,
  `sname` varchar(2) COLLATE utf8_bin DEFAULT NULL,
  `sex` varchar(10) COLLATE utf8_bin DEFAULT NULL,
  `birthday` date DEFAULT NULL,
  `content` varchar(50) COLLATE utf8_bin DEFAULT NULL,*/
    private String sid;
    private  String sname;
    private String sex;
    private String birthday;
    private String email;
    private String content;

    public Student() {
    }

    public Student(String sid, String sname, String sex, String birthday, String email, String content) {
        this.sid = sid;
        this.sname = sname;
        this.sex = sex;
        this.birthday = birthday;
        this.email = email;
        this.content = content;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "Student{" +
                "sid='" + sid + '\'' +
                ", sname='" + sname + '\'' +
                ", sex='" + sex + '\'' +
                ", birthday='" + birthday + '\'' +
                ", content='" + content + '\'' +
                '}';
    }
}
